<%-- 
    Document   : cadastrarExemplar
    Created on : 06/07/2013, 20:18:14
    Author     : Aldeíde
--%>

<%@page import="controller.recuperaPublicacao"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<% 
    recuperaPublicacao recPub = new recuperaPublicacao();
    ArrayList<String> listaISBN= new ArrayList<String>();
    for(int i=0; i< recPub.getListaPub().size(); i++){
        listaISBN.add(recPub.getListaPub().get(i).toString());
    }
%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
       <form>
            Numero*:<input type="text" name="numero" ><br/>
            ISBN*:<select name="ISBN">
                <%
                for(int j=0; j<listaISBN.size(); j++){%>
                <option value="<% listaISBN.get(j).toString(); %>"><% listaISBN.get(j).toString(); %></option>
                <%}
                %>
                
            </select><br/>
            Preço*:<input type="text" name="preco"><br/>
            Status*:
        </form>
    </body>
</html>



